{extend name="layout" /}
{block name="content"}
<div class="mui-content">
	<div class="">
		<div class="exchange-succeed-card">
			<div class="uk-margin-xxlarge-top">
				<div class="uk-text-center">
					<img src="{$images_path}succeed-icon.png" alt="" width="75" height="75"/>
				</div>
			</div>
			<div class="uk-margin-xsmallx-top">
				<div class="uk-text-center">
					<span class="tm-df-size">兑换成功，可在兑换记录中查看</span>
				</div>
			</div>
		</div>
		<div class="uk-margin-large-top">
			<div class="main-content">
				<a class="mui-btn mui-btn-green mui-btn-block" href="{:url('exchange_record',['token'=>$token, 'timestamp'=>time()])}">立刻前往</a>
			</div>
		</div>
	</div>
</div>
{/block}
{block name="script"}
<script type="text/javascript">
	function suc_back(obj, data) {
		location.href = "{$app_url}/index/member/exchange_suc.html";
	}
</script>
<script type="text/javascript">
    $(function(){
        c3_navtive_user.right_button_item1 = {
            title:"完成",
            callback:function(){
                coco_close_window();
            }
        };
        var button_item = [
            {
                title: "完成",
                returnTag:'1'
            }
        ];
        {if !isset($isphone)}
            c3_navtive_user.doActionFunc("configMenu",button_item,function(datas){
                returntag = eval('(' + datas + ')');
                if(returntag.returnTag == 1){
                    coco_close_window();
                }
                else if(returntag.returnTag == 2){
                    c3_navtive_user.doActionAnsy('openSearch',null,function(){});
                }
            });
        {/if}
    })
</script>
{/block}